﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x0200035A RID: 858
	public class TTableSample : TParseTreeNode
	{
		// Token: 0x1700078F RID: 1935
		// (get) Token: 0x060023A8 RID: 9128 RVA: 0x00337B6E File Offset: 0x00335D6E
		// (set) Token: 0x060023A9 RID: 9129 RVA: 0x00337B76 File Offset: 0x00335D76
		public virtual TConstant Numerator
		{
			get
			{
				return this.numerator;
			}
			set
			{
				this.numerator = value;
			}
		}

		// Token: 0x17000790 RID: 1936
		// (get) Token: 0x060023AA RID: 9130 RVA: 0x00337B7F File Offset: 0x00335D7F
		public virtual TSourceToken Percent
		{
			get
			{
				return this.percent;
			}
		}

		// Token: 0x17000791 RID: 1937
		// (get) Token: 0x060023AB RID: 9131 RVA: 0x00337B87 File Offset: 0x00335D87
		// (set) Token: 0x060023AC RID: 9132 RVA: 0x00337B8F File Offset: 0x00335D8F
		public virtual TConstant BucketNumber
		{
			get
			{
				return this.bucketNumber;
			}
			set
			{
				this.bucketNumber = value;
			}
		}

		// Token: 0x17000792 RID: 1938
		// (get) Token: 0x060023AD RID: 9133 RVA: 0x00337B98 File Offset: 0x00335D98
		// (set) Token: 0x060023AE RID: 9134 RVA: 0x00337BA0 File Offset: 0x00335DA0
		public virtual TExpressionList OnExprList
		{
			get
			{
				return this.onExprList;
			}
			set
			{
				this.onExprList = value;
			}
		}

		// Token: 0x17000793 RID: 1939
		// (get) Token: 0x060023AF RID: 9135 RVA: 0x00337BA9 File Offset: 0x00335DA9
		// (set) Token: 0x060023B0 RID: 9136 RVA: 0x00337BB1 File Offset: 0x00335DB1
		public virtual TConstant OutofNumber
		{
			get
			{
				return this.outofNumber;
			}
			set
			{
				this.outofNumber = value;
			}
		}

		// Token: 0x060023B1 RID: 9137 RVA: 0x00337BBA File Offset: 0x00335DBA
		public override void init(object arg1, object arg2)
		{
			this.numerator = (TConstant)arg1;
			this.percent = (TSourceToken)arg2;
		}

		// Token: 0x060023B2 RID: 9138 RVA: 0x00337BD4 File Offset: 0x00335DD4
		public override void init(object arg1, object arg2, object arg3)
		{
			this.bucketNumber = (TConstant)arg1;
			this.outofNumber = (TConstant)arg2;
			this.onExprList = (TExpressionList)arg3;
		}

		// Token: 0x060023B3 RID: 9139 RVA: 0x00337BFA File Offset: 0x00335DFA
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x060023B4 RID: 9140 RVA: 0x00337C0A File Offset: 0x00335E0A
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x17000794 RID: 1940
		// (set) Token: 0x060023B5 RID: 9141 RVA: 0x00337C1A File Offset: 0x00335E1A
		public virtual TTableSamplePart Part1
		{
			set
			{
				this.part1 = value;
			}
		}

		// Token: 0x04001BD9 RID: 7129
		private TTableSamplePart part1;

		// Token: 0x04001BDA RID: 7130
		private TConstant bucketNumber;

		// Token: 0x04001BDB RID: 7131
		private TConstant outofNumber;

		// Token: 0x04001BDC RID: 7132
		private TExpressionList onExprList;

		// Token: 0x04001BDD RID: 7133
		private TConstant numerator;

		// Token: 0x04001BDE RID: 7134
		private TSourceToken percent;
	}
}
